package com.igeek.boot.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author jwj
 * @since 2023-12-26
 */
@Data
@TableName("contract_templates")
@ApiModel(value="ContractTemplates对象", description="")
public class ContractTemplates implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "template_id", type = IdType.AUTO)
    private Integer templateId;

    private String templateName;

    private String templateType;

    @TableField(value = "template_pic")
    private String templatePic;

    @TableField(value = "create_time" ,fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    @TableField(value = "modify_time" ,fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime modifyTime;

    private Integer usageCount;


}
